package com.chl.sort.other;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class ZDemo {

	public static void main(String[] args) {
//		List<Integer> l = Arrays.asList(8, 2, 4, 9, 3, 6, 1, 7, 5, 0);
//		Collections.sort(l);

//		System.out.println(l);
		for (int i = 1; i <= 10; i++) {
			System.out.println((i >> 1) - 1);
			System.out.println((i - 2) >> 1);
		}
	}

}
